home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qbasic_1.zip
/
BAS_LIST.EXE
/
FOREBACK.BAS
< prev
next >
Wrap
BASIC Source File
|
1992-05-01
|
400b
|
18 lines
REM ** QBME0507.BAS
' TRY VARIOUS COMBINATIONS OF BACKGROUND AND FOREGROUND COLORS
CLS
INPUT "Foreground color (0 to 31)"; foreground%
PRINT
INPUT "Background color (0 to 7) "; background%
COLOR foreground%, background%
DO
PRINT "The foreground number is "; foreground%
PRINT "The background number is "; background%
PRINT "Press SPACEBAR to stop"
LOOP UNTIL INKEY$ = " "